FieldLayout.setVAlign

Sets the Vertical alignment for all child content where all child controls are aligned as a single block, e.g. setting this property to center will place all controls as a block in the center of the container's vertical space. This property is only effective when the container is tall enough to accommodate vertical repositioning of its children e.g. the height has been set explicitly using the container's height property.

Supported values:
ValueConstant
CenterControlConstants.VERTICAL_ALIGNMENT_CENTER
TopControlConstants.VERTICAL_ALIGNMENT_TOP
BottomControlConstants.VERTICAL_ALIGNMENT_BOTTOM
FillControlConstants.VERTICAL_ALIGNMENT_FILL

Setting a value of null removes any existing value for the property.

Example:

 controls.PANEL1.layout.setVAlign(ControlConstants.VERTICAL_ALIGNMENT_CENTER);
 

Parameters

java.lang.String  vAlign,